package com.qfedu.dtboot.controller;

import com.qfedu.dtboot.entity.SysUser;
import com.qfedu.dtboot.utils.ShiroUtils;

/**
 * @author 水杯abstract抽像对象
 * @date 2020-08-29 21:52
 */
public abstract class AbstractController {
    protected SysUser getUser()
    {
        return ShiroUtils.getUserEntity();
    }
    protected Long getUserId()
    {
        return ShiroUtils.getUserId();
    }
}
